<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p5</title>
    <style>
        .fu div{
            width: 200px;
            height: 200px;
            border: 5px solid #0aa1ed;
            text-align: center;
            line-height: 200px;
            font-size: 80px;
            position: absolute;
            margin: 200px 300px;
        }
        .show{
            perspective: 800px;
        }
        .fu{
            transform-style: preserve-3d;
        }
        .z1{
            transform: translateZ(100px);
        }
        .z2{
            transform: translateZ(0);
        }
        .z3{
            transform: translateZ(-100px);
        }

        .z4{
            transform: translateX(350px) rotateX(90deg);
        }
        .z5{
            transform: translateX(700px) rotateY(110deg);
        }
    </style>
</head>
<body>
<div class="show">
    <div class="fu">
        <div class="z1">1</div>
        <div class="z2">2</div>
        <div class="z3">3</div>
        <div class="z4">4</div>
        <div class="z5">5</div>
    </div>
</div>
</body>
</html>